package com.own.component.common.login.config;

import com.own.component.common.login.AuthenticationLoginUser;
import com.own.component.common.login.user.BaseLoginUser;
import com.own.component.common.login.user.BasePermissionUser;

import java.util.List;

/**
 * DefaultNoAuthenticationLoginUser
 *
 * @author chenxueli
 * @date 2023-08-10 16:16:34
 */
public class DefaultNoAuthenticationLoginUser implements AuthenticationLoginUser {

    @Override
    public BaseLoginUser loginUser() {
        throw new RuntimeException("请实现 AuthenticationLoginUser 接口");
    }

    @Override
    public BasePermissionUser permissionUser(BaseLoginUser loginUser) {
        throw new RuntimeException("请实现 AuthenticationLoginUser 接口");
    }

    @Override
    public List<BaseLoginUser> loginUser(Long userId) {
        throw new RuntimeException("请实现 AuthenticationLoginUser 接口");
    }

    @Override
    public List<BasePermissionUser> permissionUser(Long userId) {
        throw new RuntimeException("请实现 AuthenticationLoginUser 接口");
    }

}
